package com.cust.cow.service;

import com.cust.cow.common.Result;
import com.cust.cow.pojo.pill;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;

import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface PillService {
    public List<pill> findPillAll();

    //按照名臣查找
    public pill findPillByName(Integer pillId);

    public Result insertPill(pill pill);

    public Result deletePill(Integer pillId);
}
